From: Simon McVittie Date: Thu, 19 Jan 2017 11:34:57 +0000 (+0000) Subject: Make corrupt-repo-ref.js executable X-Git-Tag: archive/raspbian/2022.1-3+rpi1~1^2~4^2~41^2~3 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=9d94fc40c80ab01b3f96d37dced970a07e8323af;p=ostree.git Make corrupt-repo-ref.js executable Debian's Lintian packaging consistency check complains that it isn't executable but has a #! line. In fact it's reasonable to run this script directly, so make it executable, and put it in a _scripts variable so it will be installed executable. Closes: #652 Approved by: cgwalters --- diff --git a/Makefile-tests.am b/Makefile-tests.am index f37c59da..957b15a8 100644 --- a/Makefile-tests.am +++ b/Makefile-tests.am @@ -120,15 +120,17 @@ dist_installed_test_data = tests/archive-test.sh \ tests/pull-test.sh \ tests/admin-test.sh \ tests/basic-test.sh \ - tests/corrupt-repo-ref.js \ tests/pre-endian-deltas-repo-big.tar.xz \ tests/pre-endian-deltas-repo-little.tar.xz \ $(NULL) EXTRA_DIST += tests/libtest.sh -dist_test_extra_scripts = tests/bootloader-entries-crosscheck.py \ - tests/ostree-grub-generator +dist_test_extra_scripts = \ + tests/bootloader-entries-crosscheck.py \ + tests/corrupt-repo-ref.js \ + tests/ostree-grub-generator \ + $(NULL) # We can't use nobase_ as we need to strip off the tests/, can't # use plain installed_ as we do need the gpghome/ prefix. diff --git a/tests/corrupt-repo-ref.js b/tests/corrupt-repo-ref.js old mode 100644 new mode 100755